package com.ajun.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单 Dto
 *
 * @author LiJun
 * @date 2021-07-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderDto implements Serializable {

    private static final long serialVersionUID = 75261477257576539L;

    private Integer orderId;
    private Integer userId;
    private String orderSerial;
    private String orderContent;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
